package com.hxgz.steel.dao;

import com.hxgz.steel.domain.CompanyCert;
import java.util.HashMap;
import java.util.List;

import com.hxgz.steel.dto.CompanyCertDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component("CompanyCertMapper")
public interface CompanyCertMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CompanyCert record);

    int insertSelective(CompanyCert record);

    CompanyCert selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CompanyCert record);

    int updateByPrimaryKey(CompanyCert record);

    CompanyCert queryCertByUserId(Long userId);

  List<CompanyCertDto> getCompanyList(HashMap<Object, Object> map);

  Integer getRoleStatusById(Long userId);

    void deleteByUserId(@Param("userId") Long userId);
}